<div class="animated fadeIn">

  <div class="row">

    <div class="form-group col-2" >
      <select name="select" class="form-control" [(ngModel)]="searchHoner.key">
        <option value="1">用户ID</option>
        <option value="2">昵称</option>
        <option value="3">手机号</option>
      </select>
    </div>

    <div class="form-group col-2" style="padding-left: 5px">
      <input type="text" class="form-control input-down btn-radius" name="number" [(ngModel)]="searchHoner.keywords">
    </div>

    <!--查询-->
    <div class="form-group col-1" style="padding-left:5px">
      <button type="button" class="btn btn-primary btn-radius" (click)="getHonerLists()">查询</button>
    </div>

  </div>

  <div class="table-responsive">
    <table class="table table-center table-bordered table-hover" style="min-width: 0px">
      <thead class="table-inverse">
      <tr class="text-nowrap">
        <td>排名</td>
        <td>用户ID</td>
        <td>昵称</td>
        <td>手机号</td>
        <td>荣耀值</td>
        <td>荣誉勋章</td>
        <td>累计爱心</td>
        <td>可用爱心</td>
      </tr>
      </thead>
      <tbody class="tab-content">
        <tr *ngFor="let item of honerListData">
          <td>{{item.Ranking}}</td>
          <td>{{item.mid}}</td>
          <td>{{item.nickname}}</td>
          <td>{{item.account}}</td>
          <td>{{item.glory}}</td>
          <td>{{item.medal}}</td>
          <td>{{item.loveSum}}</td>
          <td>{{item.availableLove}}</td>
        </tr>
      </tbody>
    </table>
    <p class="noneData" *ngIf="isNoData">暂无数据</p>
    <div style="float: right">
      <pagination [boundaryLinks]="true" [totalItems]="totalItems" [(ngModel)]="currentPage" itemsPerPage="10" [maxSize]="maxSize" previousText="上一页" nextText="下一页" firstText="首页" lastText="末页" (pageChanged)="pageChanged($event)"></pagination>
    </div>
  </div>

  <!--分页组件-->

</div>
